<?php function _tag_phpcms_tag_content_ul($data, $number, $rows, $count, $page, $pages, $setting){ global $PHPCMS,$MODULE,$M,$CATEGORY,$TYPE,$AREA,$GROUP,$MODEL,$templateid,$_userid,$_username;@extract($setting);?><ul class="text_list text_list_f14">
<?php if(is_array($data)) foreach($data AS $n => $r) { ?>
<li><?php if($showdate) { ?><span class="date"><?php echo date('Y-m-d',$r[updatetime]);?></span><?php } ?>
<?php if($showcatname) { ?><a href="<?php echo $CATEGORY[$r['catid']]['url'];?>" class="catname">[<?php echo $CATEGORY[$r['catid']]['catname'];?>]</a><?php } ?>
<a href="<?php echo $r['url'];?>" target="<?php echo $target;?>"><?php if($r[style]) { ?><span class="<?php echo $r['style'];?>"><?php echo str_cut($r[title], $titlelen);?></span><?php } else { ?><?php echo str_cut($r[title], $titlelen);?><?php } ?></a></li>
<?php } ?>
</ul>
<?php if($pages) { ?><div id="pages"><?php echo $pages;?></div><?php } ?><?php } ?>